package Log_in_test;

import org.openqa.selenium.WebDriver;

public class FalseLoginpage {
        private final WebDriver driver;
        public FalseLoginpage(WebDriver driver)
        {
                 this.driver = driver;
                 if (!driver.getPageSource().contains("Username and password do not match or you do not have an account")) {
                     throw new IllegalStateException("False login homepage not appears.");

        }
        }

}

